html, body {

}

.login {
  width: 100%;
  height: 100%;
  min-height: 760px;

  .login-header {
    background: #FFFFFF;
    box-shadow: 0 1px 0 0 #F0EEEE;
    height: 79px;
    width: 100%;
    position: relative;
    z-index: 20;

    .header-outer {
      margin: 0 0 0 44px;
      @include clearfix;
      line-height: 26px;

      .logo-img {
        float: left;
        display: inline-block;
        vertical-align: top;
        margin: 10px 0 0 0;
        width: 46px;
        height: 46px;
        background: url("#{$img}/login-logo.png") no-repeat center center;
      }

      .logo-title {
        display: inline-block;
        vertical-align: top;
        margin-left: 16px;

        .title {
          margin-top: 20px;
          font-size: 18px;
          font-weight: 600;
          color: #303133;
        }

        .sub-title {
          font-size: 14px;
          color: #606266;
        }
      }
    }


  }

  .login-content {
    background: #FFFFFF url("#{$img}/login-img.png") no-repeat 15% 29px;
    background-size: 50% 75%;
    overflow: hidden;
    min-width: 1280px;
    width: 100%;
    height: 100%;
    min-height: 760px;
    margin-bottom: 44px;
    @include clearfix;

    .login-form {
      border-radius: 4px;
      background: #fff;
      box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.14);
      width: 384px;
      height: 320px;
      float: right;
      margin: 10% 8% 0 0;
      /*position: relative;
      right: 12%;
      top: 14%;*/

      .login-form-title {
        text-align: center;
        font-size: 18px;
        color: #303133;
        margin: 37px 0 35px 0;
      }

      .login-form-body {
        width: 290px;
        margin: 0 auto
      }

      .login-btn {
        .el-button {
          width: 280px;
          height: 40px;
        }
      }

      .vlidcode-button {
        cursor: pointer;
        width: 112px;
        height: 37px;
      }

      .toggle-link {
        font-size: 13px;
        color: #606266;
        text-decoration: none;

        &:hover {
          text-decoration: underline;
        }
      }

      .vlidcode {
        cursor: pointer;
        width: 112px;
        height: 37px;
        border: none;
      }


      .input-control-label,
      .input-control-vlidcode {
        display: inline-block;
        vertical-align: top;
      }

      .input-control-vlidcode {
        margin-left: 17px;
        position: relative;
        top: 2px;
      }

      @mixin input-control-medium {
        width: 280px;
        height: 40px;
      }

      .input-control-medium {
        @include input-control-medium;

        .el-input__inner {
          @include input-control-medium;
        }

        &.input-control-vlid {
          width: 150px;

          .el-input__inner {
            width: 150px;
          }
        }

      }

    }

  }

  .login-footer {
    background: #FFFFFF;
    box-shadow: 0 -1px 0 0 #F0EEEE;
    width: 100%;
    height: 44px;
    text-align: center;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: 0;

    .copyrights {
      color: #606266;
      margin: 10px 0 0 0;
      line-height: 22px;
    }
  }

}

@media screen and (max-height: 680px) {
  .login {
    .login-footer {
      margin: 20px 0 0 0;
      position: static;
    }
  }
}
